package lab02.test25;
import java.util.Scanner;
/**
 * Created by Adminitrator on 2017/11/2.
 */
public class Test {
    public static void main(String[] args) {
       // int b=0;
      //  int a=0;
        System.out.println("输入两个数：");
        Scanner numbers=new Scanner(System.in);
        int  a=numbers.nextInt();
        int   b=numbers.nextInt();
        int c=0;
        try{
          c= a/b;
        }catch (ArithmeticException e){
            System.out.println("可能除数为0！！");
        }finally {
            System.out.println("商："+c);
        }
    }
}
